package org.cp.service.k8.impl;

import java.util.List;

import org.cp.dao.k8.IK8GuessDAO;
import org.cp.service.k8.IK8GuessService;
import org.cp.vo.Guessnumber;
import org.cp.vo.Guesssumresult;

public class K8GuessService implements IK8GuessService {
	
	private IK8GuessDAO k8GuessDAO;

	public List SearchByhql(String hql) {
		
		return k8GuessDAO.SearchByhql(hql);
	}

	public void insertGNumber(Guessnumber guessNumber) {
		k8GuessDAO.insertGNumber(guessNumber);

	}

	public void insertGResult(Guesssumresult guessSumResult) {
		k8GuessDAO.insertGResult(guessSumResult);

	}

	public IK8GuessDAO getK8ResultDAO() {
		return k8GuessDAO;
	}

	public void setK8GuessDAO(IK8GuessDAO k8GuessDAO) {
		this.k8GuessDAO = k8GuessDAO;
	}

}
